QT += widgets serialport
QT  += charts
#QT += charts multimedia
TARGET = terminal
TEMPLATE = app

SOURCES += \
    main.cpp \
    mainwindow.cpp \
    settingsdialog.cpp \
    console.cpp \
    pass.cpp \
    fall.cpp
    #xyseriesiodevice.cpp \
    #widget.cpp

HEADERS += \
    mainwindow.h \
    settingsdialog.h \
    console.h \
    pass.h \
    fall.h
    #xyseriesiodevice.h \
   # widget.h

FORMS += \
    mainwindow.ui \
    settingsdialog.ui \
    pass.ui \
    fall.ui

RESOURCES += \
    terminal.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/serialport/terminal
INSTALLS += target
CONFIG += c++11

INCLUDEPATH +=  /usr/local/include
INCLUDEPATH +=  /usr/local/include/opencv
INCLUDEPATH +=  /usr/local/include/opencv2




LIBS += -L/usr/local/lib/ -lopencv_videoio
LIBS += -L/usr/local/lib/ -lopencv_video
LIBS += -L/usr/local/lib/ -lopencv_videostab

LIBS += -L/usr/local/lib/ -lopencv_core
LIBS += -L/usr/local/lib/ -lopencv_imgcodecs
LIBS += -L/usr/local/lib/ -lopencv_highgui

#LIBS += -L/usr/local/lib/ -lopencv_features2d
#LIBS += -L/usr/local/lib/ -lzbarqt
#LIBS += -L/usr/local/lib/ -lopencv_imgproc
 #   LIBS += -L/usr/local/lib/ -lopencv_photo
#LIBS += -L/usr/local/lib/ -lopencv_ml
#LIBS += -L/usr/local/lib/ -lopencv_objdetect
#LIBS += -L/usr/local/lib/ -lopencv_shape
#LIBS += -L/usr/local/lib/ -lopencv_stitching
#LIBS += -L/usr/local/lib/ -lopencv_superres
#LIBS += -L/usr/local/lib/ -lopencv_videoio
#LIBS += -L/usr/local/lib/ -lopencv_video
#LIBS += -L/usr/local/lib/ -lopencv_imgproc

LIBS    += -L/usr/local/lib -lopencv_core -lopencv_highgui -lopencv_imgproc -lzbar




#INCLUDEPATH +=  /usr/local/include/ImageMagick
#INCLUDEPATH +=  /usr/local/include/ImageMagick/magick
#INCLUDEPATH +=  /usr/local/include/ImageMagick/Magick++
#INCLUDEPATH +=  /opt/zbar-0.10/include
#LIBS += -L/usr/local/lib/   -lMagickCore
#LIBS += -L/usr/local/lib/   -lMagickWand
#LIBS += -L/usr/local/lib/   -lMagick++


DISTFILES += \
    images/open.png
